import axios from './axios'
import qs from 'qs'
import {appUrl} from '@/config/config'

// 设置密码
export const modifyPassword = (params) => {
  return new Promise((resolve, reject) => {
      axios({
          url: appUrl + '/bdc/api/app/login/setPassword',
          method: 'post',
          data: params,
      }).then(res => {
        resolve(res.data)
      })
  })
}

